package cn.skyquant.quant4j.jforex.sdk.strategy;

import com.dukascopy.api.IEngine;
import com.dukascopy.api.Instrument;

public class SubmitOrder {
    public final String label;
    public final Instrument instrument;
    public final IEngine.OrderCommand orderCommand;
    public final double amount;
    public final double price;
    public final double slippage;
    public final double stopLossPrice;
    public final double takeProfitPrice;
    public final long goodTillTime;
    public final String comment;

    public SubmitOrder(String label, Instrument instrument, IEngine.OrderCommand orderCommand, double amount, double price, double slippage, double stopLossPrice, double takeProfitPrice, long goodTillTime, String comment) {
        this.label = label;
        this.instrument = instrument;
        this.orderCommand = orderCommand;
        this.amount = amount;
        this.price = price;
        this.slippage = slippage;
        this.stopLossPrice = stopLossPrice;
        this.takeProfitPrice = takeProfitPrice;
        this.goodTillTime = goodTillTime;
        this.comment = comment;
    }
}
